package leetcode.code062;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution062 implements IDebug {

	public abstract int uniquePaths(int m, int n);

	@Override
	public void debug1() {
		int m = 3;
		int n = 7;
		int e = 28;
		this.debug(m, n, e);
	}

	private void debug(int m, int n, int e) {
		int r = this.uniquePaths(m, n);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		int m = 3;
		int n = 2;
		int e = 3;
		this.debug(m, n, e);
	}

	@Override
	public void debug3() {
		int m = 7;
		int n = 3;
		int e = 28;
		this.debug(m, n, e);
	}

	@Override
	public void debug4() {
		int m = 3;
		int n = 3;
		int e = 6;
		this.debug(m, n, e);
	}

}
